package jsyf.oa.facade.device;

import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType;
import com.alibaba.fastjson.JSONObject;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import java.util.List;

/**
 * Created by y on 2018/6/28.
 */
@Path("/devicelogisticsService")
@Consumes({MediaType.APPLICATION_JSON, MediaType.TEXT_XML})
@Produces({ContentType.APPLICATION_JSON_UTF_8, ContentType.TEXT_XML_UTF_8})
public interface DevicelogisticsFacade {
    @Path("/add")
    String add(String jsonObject);
    @Path("/getDeviceTypeListBySampleId")
    List<JSONObject> getDeviceTypeListBySampleId(String jsonData);
    @Path("/outBound")
    JSONObject outBound(String jsonObject);
    @Path("/updateOutRecord")
    JSONObject updateOutRecord(String jsonData);
    @Path("/updateMoveRecord")
    JSONObject updateMoveRecord(String jsonData);
    @Path("/updateExitRecord")
    JSONObject updateExitRecord(String jsonData);
}
